home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD023b.dsk
/
EVOLUTION INTRO.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
3KB
|
72 lines
10 TEXT : HOME
20 D$ = CHR$(4)
30 PRINT " EVOLUTION"
40 PRINT
50 PRINT " GIVEN THE LAWS OF THERMODYNAMICS"
60 PRINT "GOVERNING THE ENERGY AND ENTROPY OF"
70 PRINT "SYSTEMS, HOW COULD LIFE HAVE EVOLVED?"
80 PRINT "SIMPLY STATED, THE LAWS ARE:"
90 PRINT "(1) ENERGY CONSERVATION (YOU CAN'T WIN)"
100 PRINT "(2) ENTROPY OR RANDOMNESS INCREASES"
110 PRINT " (YOU CAN'T BREAK EVEN)"
120 PRINT "(3) ABSOLUTE ZERO TEMPERATURE (YOU"
130 PRINT " CAN'T GET OUT OF THE GAME)"
140 PRINT " A FIRST STEP IN RESOLVING THE"
150 PRINT "PARADOX OF HOW HIGHLY ORGANIZED LIFE"
160 PRINT "DEVELOPED COUNTER TO THE LAW OF"
170 PRINT "INCREASING RANDOMNESS IN NATURE IS TO"
180 PRINT "RECOGNIZE OUR LACK OF INTUITION INTO"
190 PRINT "WHAT IS RANDOM. MOST PEOPLE, GIVEN THE"
200 PRINT "TASK OF RANDOMLY DISTRIBUTING BLACK"
210 PRINT "BATHROOM TILE AMONG THE BACKGROUND"
220 PRINT "WHITE TILE, WILL DO SO BY CREATING AN"
230 PRINT : PRINT " PRESS SPACE TO CONTINUE.": GET A$
235 HOME
240 PRINT "AESTHETICALLY PLEASING PATTERN OF"
250 PRINT "EVENLY MIXED BLACK-ON-WHITE. THIS IS"
260 PRINT "HIGHLY NONRANDOM. STATISTICALLY, IT IS"
270 PRINT "MUCH MORE LIKELY THAT THERE WILL BE"
280 PRINT "AREAS OF BLACK TILES TOGETHER AND LARGE"
290 PRINT "AREAS OF UNTOUCHED WHITE."
300 PRINT " IF SUCH 'FLUCTUATIONS' OF BLACK"
310 PRINT "TILES (OR MOLECULES OR CELLS) REACH A"
320 PRINT "CRITICAL SIZE THEY MAY 'SURVIVE' AND"
330 PRINT "NATURALLY DEVELOP INTO MORE AND MORE"
340 PRINT "COMPLEX STATES, DEPENDING ON THE RULES"
350 PRINT "THEY LIVE BY. THE POWER OF A SMALL"
360 PRINT "NUMBER OF FIXED RULES TO PRODUCE AN"
370 PRINT "UNPREDICTABLE AMOUNT OF COMPLEXITY IS"
380 PRINT "STRIKING. THE 'LIFE GAME', DEVELOPED"
390 PRINT "BY, AMONG OTHERS, THE MATHEMATICIANS"
400 PRINT "STANISLAUS ULAM AND JOHN CONWAY, BEST"
410 PRINT "SHOWS THIS POWER. THE THREE RULES"
420 PRINT "GOVERNING CELL LIFE ARE:"
425 PRINT : PRINT " PRESS SPACE TO CONTINUE.": GET A$: HOME
430 PRINT "(1) SURVIVAL (HAVING 2 OR 3 NEIGHBORS)"
450 PRINT "(2) BIRTH (SPACE HAVING 3 NEIGHBORS)"
460 PRINT "(3) DEATH (HAVING LESS THAN 2 OR"
470 PRINT " GREATER THAN 3 NEIGHBORS)"
480 PRINT " THESE CONCEPTS OF RANDOM"
490 PRINT "FLUCTUATIONS, CRITICAL SIZE, AND THE"
500 PRINT "POWER OF SIMPLE, FIXED LIFE RULES ARE"
510 PRINT "COMBINED IN THE FOLLOWING PROGRAMS. SIT"
520 PRINT "BACK AND WATCH HOW LONG LIFE TAKES"
530 PRINT "TO 'EVOLVE' AND THEN WATCH IT'S"
540 PRINT "PROGRESSION. THE HIGH-RESOLUTION SHAPE"
550 PRINT "TABLES AND SCANNING ROUTINE WERE"
560 PRINT "DESIGNED BY RAUL CARTAYA FOR HIS GAME"
570 PRINT "OF 'LIFE' FOR 'NIBBLE' MAGAZINE, 1982."
580 PRINT "FOR FURTHER READING I SUGGEST THE BOOK"
590 PRINT "'GRAMMATICAL MAN: INFORMATION, ENTROPY,"
600 PRINT "LANGUAGE, AND LIFE' BY JEREMY CAMPBELL,"
610 PRINT "SIMON AND SCHUSTER PUB.CO., 1982."
615 PRINT : PRINT
620 PRINT " 1 = COLOR EVOLUTION"
630 PRINT " 2 = HI-RES EVOLUTION"
635 PRINT " 3 = REPEAT TUTORIAL"
640 PRINT " WHICH?";: GET A$: PRINT A$
650 IF A$ = "1" THEN PRINT D$;"RUN COLOR EVOLUTION"
660 IF A$ = "2" THEN PRINT D$;"RUN HI-RES EVOLUTION"
665 IF A$ = "3" THEN GOTO 10
670 HOME : VTAB 8: GOTO 620
680 END